package com.java.java8.util.functioninterfacedemo;

/**
 * @author liyanhao
 * @Date 2023-03-26 19:27
 */
@FunctionalInterface
public interface UnaryOperatorDemo<T> {
    T get(T t);
}

class testUnaryOperatorDemo {
    public static void main(String[] args) {
        UnaryOperatorDemo<Integer> u = t -> {
            return t * 100;
        };
        System.out.println(u.get(9));
    }
}
